import { defineConfig } from 'unocss';
import presetUno from '@unocss/preset-uno';
import presetAttributify from '@unocss/preset-attributify';
import presetIcons from '@unocss/preset-icons';

export default defineConfig({
  presets: [
    presetUno(),
    presetAttributify(),
    presetIcons({
      scale: 1.2,
      warn: true,
    }),
  ],
  shortcuts: {
    btn: 'px-4 py-1 rounded inline-block bg-teal-600 text-white cursor-pointer hover:opacity-80 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50',
  },
  theme: {
    colors: {
      purple: {
        primary: 'var(--primary-purple)',
        secondary: 'var(--secondary-purple)',
      },
      blue: {
        primary: 'var(--primary-blue)',
        secondary: 'var(--secondary-blue)',
      },
    },
  },
});
